package com.zlp.spring.init.entity;

import org.springframework.stereotype.Component;

@Component
public class Order {

    /**
     * 订单号
     */
    private String orderNo = System.currentTimeMillis() + "";
    /**
     * 订单名称
     */
    private String orderName = "Test orderName";
    /**
     * 订单价格
     */
    private Long price = 100L;
    /**
     * 订单副标题
     */
    private String subTitle = "SUBTITLE";

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }
}
